package com.zzy.librarytest.service;

import com.zzy.librarytest.entity.Book;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Select;
import org.apache.ibatis.annotations.Update;

import java.util.List;

public interface BookServvice {
    List<Book> selectAllBook();
    Integer saveBook(Book book);
    Book selectBook(Integer id);
    Integer updateBook(Book book);
    Integer deleteBook(Integer id);
}
